let compDatav = {
    label: "datav例子",
    icon: "icon-datav",
    children: [
        {
            label: "滚动排名",
            option: {
                name: "滚动排名",
                title: "滚动排名",
                icon: "icon-datav",
                img: "/img/assets/table1.gif",
                dataType: 0,
                dataMethod: "get",
                data: [
                    {
                        name: "周口",
                        value: 55
                    },
                    {
                        name: "南阳",
                        value: 120
                    },
                    {
                        name: "西峡",
                        value: 78
                    },
                    {
                        name: "驻马店",
                        value: 66
                    },
                    {
                        name: "新乡",
                        value: 80
                    },
                    {
                        name: "信阳",
                        value: 45
                    },
                    {
                        name: "漯河",
                        value: 29
                    }
                ],
                dataFormatter: "",
                echartFormatter:
                    "(data)=>{\n  return {\n    config:{\n\t    data: data,\n      //carousel: 'page',\n      valueFormatter ({ value }) {\n        return value+'单位'\n      }\n\t  }\n  }\n}",
                time: 0,
                component: {
                    width: 652.35,
                    height: 248.45,
                    name: "datav",
                    prop: "datav"
                },
                option: {
                    is: "dv-scroll-ranking-board"
                }
            }
        },

        {
            label: "水位图",
            option: {
                name: "水位图",
                title: "datav",
                icon: "icon-datav",
                img: "/img/assets/datav/datav1.png",
                dataType: 0,
                dataMethod: "get",
                data: {
                    value: 66
                },
                dataFormatter: "",
                time: 0,
                component: {
                    width: 150,
                    height: 200,
                    name: "datav",
                    prop: "waterLevel"
                },
                option: {
                    is: "dv-water-level-pond",
                    waveNum: 3,
                    waveHeight: 40,
                    waveOpacity: 0.4,
                    shape: "rect",
                    formatter: "{value}%",
                    color: "#00BAFF"
                }
            }
        },
        {
            label: "进度池",
            option: {
                name: "进度池",
                title: "datav",
                icon: "icon-datav",
                img: "/img/assets/datav/datav2.png",
                dataType: 0,
                dataMethod: "get",
                data: {
                    value: 66
                },
                dataFormatter: "",
                echartFormatter:
                    "(data)=>{\n  return {\n    config:{\n      value: data.value,\n      borderWidth: 5,\n      borderRadius: 10,\n      borderGap: 5,\n      lineDash: [10, 2],\n      localGradient: true\n    }\n  }\n}",
                time: 0,
                component: {
                    width: 369,
                    height: 153,
                    name: "datav",
                    prop: "datav"
                },
                option: {
                    is: "dv-percent-pond"
                }
            }
        },
        {
            label: "锥形柱图",
            option: {
                name: "锥形柱图",
                title: "datav",
                icon: "icon-datav",
                img: "/img/assets/datav/datav3.png",
                dataType: 0,
                dataMethod: "get",
                data: [
                    {
                        name: "周口",
                        value: 55
                    },
                    {
                        name: "南阳",
                        value: 120
                    },
                    {
                        name: "西峡",
                        value: 71
                    },
                    {
                        name: "驻马店",
                        value: 66
                    },
                    {
                        name: "新乡",
                        value: 80
                    },
                    {
                        name: "信阳",
                        value: 35
                    },
                    {
                        name: "漯河",
                        value: 15
                    }
                ],
                dataFormatter: "",
                echartFormatter:
                    "(data)=>{\n  return {\n    config:{\n      data:data,\n      img: [\n        '/img/conicalColumnChart/1st.png',\n        '/img/conicalColumnChart/2st.png',\n        '/img/conicalColumnChart/3st.png',\n        '/img/conicalColumnChart/4st.png',\n        '/img/conicalColumnChart/5st.png',\n        '/img/conicalColumnChart/6st.png',\n        '/img/conicalColumnChart/7st.png'\n      ],\n      showValue: true\n    }\n  }\n}",
                time: 0,
                component: {
                    width: 549.18,
                    height: 262.98,
                    name: "datav",
                    prop: "datav"
                },
                option: {
                    is: "dv-conical-column-chart"
                }
            }
        },
        {
            label: "飞线图",
            option: {
                name: "飞线图",
                title: "datav",
                icon: "icon-datav",
                img: "/img/assets/datav/datav4.png",
                dataType: 0,
                dataMethod: "get",
                data: {
                    points: [
                        {
                            name: "郑州",
                            coordinate: [0.48, 0.35],
                            halo: {
                                show: true
                            },
                            icon: {
                                src: "/img/flylineChart/mapCenterPoint.png",
                                width: 30,
                                height: 30
                            },
                            text: {
                                show: false
                            }
                        },
                        {
                            name: "新乡",
                            coordinate: [0.52, 0.23]
                        },
                        {
                            name: "焦作",
                            coordinate: [0.43, 0.29]
                        },
                        {
                            name: "开封",
                            coordinate: [0.59, 0.35]
                        },
                        {
                            name: "许昌",
                            coordinate: [0.53, 0.47]
                        },
                        {
                            name: "平顶山",
                            coordinate: [0.45, 0.54]
                        },
                        {
                            name: "洛阳",
                            coordinate: [0.36, 0.38]
                        },
                        {
                            name: "周口",
                            coordinate: [0.62, 0.55],
                            halo: {
                                show: true,
                                color: "#8378ea"
                            }
                        },
                        {
                            name: "漯河",
                            coordinate: [0.56, 0.56]
                        },
                        {
                            name: "南阳",
                            coordinate: [0.37, 0.66],
                            halo: {
                                show: true,
                                color: "#37a2da"
                            }
                        },
                        {
                            name: "信阳",
                            coordinate: [0.55, 0.81]
                        },
                        {
                            name: "驻马店",
                            coordinate: [0.55, 0.67]
                        },
                        {
                            name: "济源",
                            coordinate: [0.37, 0.29]
                        },
                        {
                            name: "三门峡",
                            coordinate: [0.2, 0.36]
                        },
                        {
                            name: "商丘",
                            coordinate: [0.76, 0.41]
                        },
                        {
                            name: "鹤壁",
                            coordinate: [0.59, 0.18]
                        },
                        {
                            name: "濮阳",
                            coordinate: [0.68, 0.17]
                        },
                        {
                            name: "安阳",
                            coordinate: [0.59, 0.1]
                        }
                    ],
                    lines: [
                        {
                            source: "新乡",
                            target: "郑州"
                        },
                        {
                            source: "焦作",
                            target: "郑州"
                        },
                        {
                            source: "开封",
                            target: "郑州"
                        },
                        {
                            source: "周口",
                            target: "郑州",
                            color: "#fb7293",
                            width: 2
                        },
                        {
                            source: "南阳",
                            target: "郑州",
                            color: "#fb7293",
                            width: 2
                        },
                        {
                            source: "济源",
                            target: "郑州"
                        },
                        {
                            source: "三门峡",
                            target: "郑州"
                        },
                        {
                            source: "商丘",
                            target: "郑州"
                        },
                        {
                            source: "鹤壁",
                            target: "郑州"
                        },
                        {
                            source: "濮阳",
                            target: "郑州"
                        },
                        {
                            source: "安阳",
                            target: "郑州"
                        },
                        {
                            source: "许昌",
                            target: "南阳",
                            color: "#37a2da"
                        },
                        {
                            source: "平顶山",
                            target: "南阳",
                            color: "#37a2da"
                        },
                        {
                            source: "洛阳",
                            target: "南阳",
                            color: "#37a2da"
                        },
                        {
                            source: "驻马店",
                            target: "周口",
                            color: "#8378ea"
                        },
                        {
                            source: "信阳",
                            target: "周口",
                            color: "#8378ea"
                        },
                        {
                            source: "漯河",
                            target: "周口",
                            color: "#8378ea"
                        }
                    ]
                },
                lines: [
                    {
                        source: "新乡",
                        target: "郑州"
                    },
                    {
                        source: "焦作",
                        target: "郑州"
                    },
                    {
                        source: "开封",
                        target: "郑州"
                    },
                    {
                        source: "周口",
                        target: "郑州",
                        color: "#fb7293",
                        width: 2
                    },
                    {
                        source: "南阳",
                        target: "郑州",
                        color: "#fb7293",
                        width: 2
                    },
                    {
                        source: "济源",
                        target: "郑州"
                    },
                    {
                        source: "三门峡",
                        target: "郑州"
                    },
                    {
                        source: "商丘",
                        target: "郑州"
                    },
                    {
                        source: "鹤壁",
                        target: "郑州"
                    },
                    {
                        source: "濮阳",
                        target: "郑州"
                    },
                    {
                        source: "安阳",
                        target: "郑州"
                    },
                    {
                        source: "许昌",
                        target: "南阳",
                        color: "#37a2da"
                    },
                    {
                        source: "平顶山",
                        target: "南阳",
                        color: "#37a2da"
                    },
                    {
                        source: "洛阳",
                        target: "南阳",
                        color: "#37a2da"
                    },
                    {
                        source: "驻马店",
                        target: "周口",
                        color: "#8378ea"
                    },
                    {
                        source: "信阳",
                        target: "周口",
                        color: "#8378ea"
                    },
                    {
                        source: "漯河",
                        target: "周口",
                        color: "#8378ea"
                    }
                ],
                dataFormatter: "",
                echartFormatter:
                    "(data)=>{\n  return {\n    config:{\n      points:data.points,\n      lines:data.lines,\n      icon: {\n        show: true,\n        src: '/img/flylineChart/mapPoint.png'\n      },\n      text: {\n        show: true,\n      },\n      k: 0.5,\n      bgImgSrc: '/img/flylineChart/map.jpg'\n    }\n  }\n}",
                time: 0,
                component: {
                    width: 949.32,
                    height: 515.7,
                    name: "datav",
                    prop: "datav"
                },
                option: {
                    is: "dv-flyline-chart-enhanced"
                }
            }
        },
        {
            label: "动态环图",
            option: {
                name: "动态环图",
                title: "datav",
                icon: "icon-datav",
                img: "/img/assets/datav/datav5.png",
                dataType: 0,
                dataMethod: "get",
                data: [
                    {
                        name: "周口",
                        value: 55
                    },
                    {
                        name: "南阳",
                        value: 120
                    },
                    {
                        name: "西峡",
                        value: 78
                    },
                    {
                        name: "驻马店",
                        value: 66
                    },
                    {
                        name: "新乡",
                        value: 80
                    }
                ],
                dataFormatter: "",
                echartFormatter:
                    "(data)=>{\n  return {\n    config:{\n      radius: '40%',\n      activeRadius: '45%',\n      data: data,\n      digitalFlopStyle: {\n        fontSize: 20\n      },\n      showOriginValue: true\n    }\n  }\n}",
                time: 0,
                component: {
                    width: 949.32,
                    height: 515.7,
                    name: "datav",
                    prop: "datav"
                },
                option: {
                    is: "dv-active-ring-chart"
                }
            }
        }
    ]
};
